package com.party.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author 作者
 * @since 2024-06-10
 */
@Getter
@Setter
@TableName("pmember")
public class Pmember implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别
     */
    private String gender;

    /**
     * 职务
     */
    private String position;

    /**
     * 联系方式
     */
    private String phone;

    /**
     * 住址
     */
    private String address;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate inDate;

    private String idCard;


}
